<!DOCTYPE html>

<!--[if lt IE 8 ]><html {{ if isset $.Site.Params "amp" }}amp{{ end }} lang="en" class="no-js oldie"><![endif]-->
<!--[if IE 8 ]><html {{ if isset $.Site.Params "amp" }}amp{{ end }} lang="en" class="no-js ie8"><![endif]-->
<!--[if IE 9 ]><html {{ if isset $.Site.Params "amp" }}amp{{ end }} lang="en" class="no-js ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html {{ if isset $.Site.Params "amp" }}amp{{ end }} lang="{{ with $.Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}" class="no-js"><!--<![endif]-->
<head>
  <title>{{ .Title }}</title>
  <meta charset="utf-8">

  {{ partial "amp/header" . }}

  <link rel="canonical" href="{{ replace .Permalink "/amp/" "/" }}">

  <link rel="icon" href="/favicon.png" type="image/png" sizes="144x144">

  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">

  <meta name="theme-color" content="{{ $.Site.Params.themeColor }}" />

  {{ partial "seo/main" . }}

</head>

<body>
{{ if isset $.Site.Params "ampmanifest" }}
{{ with $.Site.Data.app.banner }}{{ partial "amp/app-banner" . }}{{ end }}
{{ end }}
<main>
  {{ block "content" . }}{{ end }}
</main>
{{ partial "amp/google-analytics" . }}
</body>

</html>
